﻿using Taype.Trading.BTC.TradeHillAPIClient.JSONObjects;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using BitCoinSharp;

namespace TradeHillAPIClientTests
{
    
    
    /// <summary>
    ///This is a test class for TradeHillProfileInfoTest and is intended
    ///to contain all TradeHillProfileInfoTest Unit Tests
    ///</summary>
    [TestClass()]
    public class TradeHillProfileInfoTest
    {


        private TestContext testContextInstance;

        /// <summary>
        ///Gets or sets the test context which provides
        ///information about and functionality for the current test run.
        ///</summary>
        public TestContext TestContext
        {
            get
            {
                return testContextInstance;
            }
            set
            {
                testContextInstance = value;
            }
        }

        #region Additional test attributes
        // 
        //You can use the following additional attributes as you write your tests:
        //
        //Use ClassInitialize to run code before running the first test in the class
        //[ClassInitialize()]
        //public static void MyClassInitialize(TestContext testContext)
        //{
        //}
        //
        //Use ClassCleanup to run code after all tests in a class have run
        //[ClassCleanup()]
        //public static void MyClassCleanup()
        //{
        //}
        //
        //Use TestInitialize to run code before running each test
        //[TestInitialize()]
        //public void MyTestInitialize()
        //{
        //}
        //
        //Use TestCleanup to run code after each test has run
        //[TestCleanup()]
        //public void MyTestCleanup()
        //{
        //}
        //
        #endregion


        /// <summary>
        ///A test for TradeHillProfileInfo Constructor
        ///</summary>
        [TestMethod()]
        public void TradeHillProfileInfoConstructorTest()
        {
            TradeHillProfileInfo target = new TradeHillProfileInfo();
            Assert.Inconclusive("TODO: Implement code to verify target");
        }

        /// <summary>
        ///A test for getObjects
        ///</summary>
        [TestMethod()]
        public void getObjectsTest()
        {
            string jsonDataStr = string.Empty; // TODO: Initialize to an appropriate value
            List<TradeHillProfileInfo> expected = null; // TODO: Initialize to an appropriate value
            List<TradeHillProfileInfo> actual;
            actual = TradeHillProfileInfo.getObjects(jsonDataStr);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for BTCDepositAddress
        ///</summary>
        [TestMethod()]
        public void BTCDepositAddressTest()
        {
            TradeHillProfileInfo target = new TradeHillProfileInfo(); // TODO: Initialize to an appropriate value
            Address expected = null; // TODO: Initialize to an appropriate value
            Address actual;
            target.BTCDepositAddress = expected;
            actual = target.BTCDepositAddress;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for CommissionRate
        ///</summary>
        [TestMethod()]
        public void CommissionRateTest()
        {
            TradeHillProfileInfo target = new TradeHillProfileInfo(); // TODO: Initialize to an appropriate value
            double expected = 0F; // TODO: Initialize to an appropriate value
            double actual;
            target.CommissionRate = expected;
            actual = target.CommissionRate;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for Email
        ///</summary>
        [TestMethod()]
        public void EmailTest()
        {
            TradeHillProfileInfo target = new TradeHillProfileInfo(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.Email = expected;
            actual = target.Email;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for ReferralCode
        ///</summary>
        [TestMethod()]
        public void ReferralCodeTest()
        {
            TradeHillProfileInfo target = new TradeHillProfileInfo(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.ReferralCode = expected;
            actual = target.ReferralCode;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
    }
}
